package com.bcxj.apiboss.service;

import com.bcxj.apiboss.remote.ServiceUserClient;
import com.bcxj.internalcommon.entity.TravelUser;
import com.bcxj.internalcommon.response.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * ClassName: TravelUserService
 * Package: com.bcxj.apiboss.service
 * Description:
 *
 * @Author BCXJ
 * @Create 2025/5/6 11:27
 * @Version 1.0
 * @Since 1.0
 */
@Service
public class TravelUserService {

    @Autowired
    private ServiceUserClient serviceUserClient;

    /**
     * 分页查询用户
     * @param pageNo
     * @return
     */
    public ResponseResult list(Integer pageNo) {
        return serviceUserClient.list(pageNo);
    }

    public ResponseResult setState(Long id, Integer state) {
        return serviceUserClient.setState(id, state);
    }
}
